home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9728 < prev    next >
Encoding:
Text File  |  1996-08-05  |  725 b   |  28 lines

  1. Path: newsfeed.internetmci.com!panix!usenet
  2. From: gugu@panix.com (gugu)
  3. Newsgroups: comp.lang.c++
  4. Subject: re: what is ios?
  5. Date: 4 Mar 1996 08:38:24 GMT
  6. Organization: PANIX Public Access Internet and Unix, NYC
  7. Message-ID: <375.6637T240T724@panix.com>
  8. NNTP-Posting-Host: gugu.dialup.access.net
  9. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  10.  
  11. I am just starting out to program in C++, and I am stuck in using ios
  12. command...
  13.  
  14.         #include <fstream.h>
  15.  
  16.         int main(void)
  17.         {
  18.                 ofstream stocks("stocks.dat",ios::binary);
  19.                 -- ------SKIP----
  20.         }
  21.  
  22. The gnu compiler keeps on saying that binary is not a member of type ios.
  23.  
  24. Please help!  Thank you very much.
  25.  
  26. gugu@panix.com
  27.  
  28.